package com.cote.douhahou.pretloan.beans;

import android.graphics.Bitmap;
import android.text.TextUtils;

import com.google.gson.Gson;

public class RecommendAkomapalendAppInfo {

    private String appName;
    private String amountText;
    private String score;
    private String downloads;
    private String logo;
    private String path;

    private Bitmap logoBitmap;

    private RecommendAkomapalendAppInfo(){}

    public static RecommendAkomapalendAppInfo getI_akomapalendnstance(String jsonStr){
        return new Gson().fromJson(jsonStr, RecommendAkomapalendAppInfo.class);
    }

    public String getAp_akomapalendpName() {
        if (TextUtils.isEmpty(appName)) return "";
        return appName;
    }

    public String getAmou_akomapalendntText() {
        if (TextUtils.isEmpty(amountText)) return "";
        return amountText;
    }

    public String getSc_akomapalendore() {
        if (TextUtils.isEmpty(score)) return "";
        return score;
    }

    public String getDow_akomapalendnloads() {
        if (TextUtils.isEmpty(downloads)) return "";
        return downloads;
    }

    public String getL_akomapalendogo() {
        if (TextUtils.isEmpty(logo)) return "";
        return logo;
    }

    public String getP_akomapalendath() {
        if (TextUtils.isEmpty(path)) return "";
        return path;
    }

    public Bitmap getLogo_akomapalendBitmap() {
        return logoBitmap;
    }

    public void setLo_akomapalendgoB_akomapalenditmap(Bitmap logoBitmap) {
        this.logoBitmap = logoBitmap;
    }

}
